<script>
    const person =  {
        sayHi() {
            console.log("Hi")
        }
    }
    person.sayHi();
</script>